package com.leyou.common.bean;

/**
 * @author zqq
 * @ClassName Constant
 * @Description: 常量类
 * @date 2020/3/23-18:26
 */
public class Constant {

    /** 用户注册发送短信前缀 */
    public final static  String KEY_REGISTER_CODE = "user:register:phone:";

    /** 用户登录发送短信前缀 */
    public final static  String KEY_LOGIN_CODE = "user:login:phone:";

    /** 用户发送短信次数前缀 */
    public final static  String KEY_SEND_NUM = "user:num:phone:";

    /** 用户购物车前缀 */
    public final static  String KEY_CART_CODE = "leyou:cart:uid:";

    /** 系统权限key */
    public final static  String KEY_AUTHORIZE_CODE = "leyou:authorize:all";

    /** 用户token前缀 */
    public final static  String KEY_TOKEN_ID = "user:token:id:";

    /** 用户绑定手机，发送老手机短信前缀 */
    public final static  String KEY_BIND_OLD_CODE = "user:bind:old:phone:";

    /** 用户绑定手机，发送新手机短信前缀 */
    public final static  String KEY_BIND_NEW_CODE = "user:bind:new:phone:";
}


